package upf.da.sm.connection;

import java.io.Serializable;

public class ConnectionData implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public String username = null;
	public String password = null;
	public String host = null;
	public int port = 0;
	public String topic = null;
	public ConnectionData (String username, String password, String host, int port, String topic){
		setUsername(username);
		setPassword(password);
		setHost(host);
		setPort(port);
		setTopic(topic);
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}

}
